package com.codedancer.campus.manager.service.vo.user;

import com.codedancer.campus.enums.UserSourceType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@Data
@ApiModel("用户分页查询Vo")
public class UserPageVo {

  @ApiModelProperty("用户uuid")
  private String uuid;

  @ApiModelProperty("昵称")
  private String nickName;

  @ApiModelProperty("是否禁用")
  private Boolean disabled;

  @ApiModelProperty("头像")
  private String avatar;

  @ApiModelProperty("签名")
  private String signature;

  @ApiModelProperty("性别 1表示男 2表示女 3表示未知")
  private Integer sex;

  @ApiModelProperty("学校名称")
  private String schoolName;

  @ApiModelProperty("创建时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;

  @ApiModelProperty("更新时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateTime;

  @ApiModelProperty("是否设置基本信息")
  private Boolean isSetBasicMessage;

  @ApiModelProperty("手机号")
  private String phone;

  @ApiModelProperty("背景图")
  private String backgroundImage;

  @ApiModelProperty("用户来源类型 1表示注册 2表示手机 3表示QQ 4表示微信")
  private UserSourceType sourceType;

  @ApiModelProperty("用户ip地址")
  private String ipaddress;
}
